package com.jsmile.cloud.tradecenter.api.res;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
public class ResCart {

    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    @ApiModelProperty(value = "店铺名称")
    private Long shopName;
    @ApiModelProperty(value = "商品详情")
    private List<CartDetial> cartDetials;
    @ApiModelProperty(value = "租户id")
    private Long tenantId;

    @Data
    @ApiModel
    public static class CartDetial {

        @ApiModelProperty(value = "购物车id")
        private Long cartId;
        @ApiModelProperty(value = "活动id")
        private Long activityId;
        @ApiModelProperty(value = "店铺id")
        private Long shopId;
        @ApiModelProperty(value = "供应商id")
        private Long supplyId;
        @ApiModelProperty(value = "sku_id")
        private Long skuId;
        @ApiModelProperty(value = "商品id")
        private Long spuId;
        @ApiModelProperty(value = "数量")
        private Integer skuNumber;
        @ApiModelProperty(value = "销售价 单位:分")
        private Long sellingPrice;
        @ApiModelProperty(value = "券后价 单位:分")
        private Long couponPrice;
        @ApiModelProperty(value = "市场价，单位：分")
        private Long marketPrice;
        @ApiModelProperty(value = "活动价、团购价 单位:分")
        private Long activityPrice;
        @ApiModelProperty(value = "最低销售价")
        private Long lowSellingPrice;
        @ApiModelProperty(value = "最高销售价")
        private Long highSellingPrice;
        @ApiModelProperty(value = "最低市场价")
        private Long lowMarketPrice;
        @ApiModelProperty(value = "最高市场价")
        private Long highMarketPrice;
        @ApiModelProperty(value = "最低券后价")
        private Long lowCouponPrice;
        @ApiModelProperty(value = "最高券后价")
        private Long highCouponPrice;
        @ApiModelProperty(value = "加入购物车时的价格")
        private Long joinPrice;
        @ApiModelProperty(value = "配送方式 1自提 2快递")
        private Integer deliveryType;
    }
}
